#pragma once
#include "GameEngine.h"
#include "Object.h"
#define BLOCK_TYPE 1
namespace Advanced2D
{
	class Block: public Object
	{
		Sprite* sprBlock;

	public:
		void setPostion(D3DXVECTOR3 pos);
		void setCurrentFrame(int frame);
		Block(void);
		void move();
		void animate();
		void draw();
		void draw(RECT);
		Sprite* getSprite(){return sprBlock;};
		~Block();
	};

}

